using System;
using System.Collections.Generic;
using System.Text;
using CodeStory.Core.ObjectEntity;
namespace CodeStory.Core.ObjectBusiness
{
	public sealed class ResourceBusiness
	{
		private ResourceBusiness() {
		}

		public static void InsertResource(string innerResourceID, Guid parentResourceID, string resourceName, string description, string resourceType) {
			ResourceObject obj = ResourceObject.New();
			obj.InnerResourceID = innerResourceID;
			obj.ParentResourceID = parentResourceID;
			obj.ResourceName = resourceName;
			obj.Description = description;
			obj.ResourceType = resourceType;
			obj.Save();
		}
	}
}
